package com.woniu.outpatient.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药单流水表对象 prescription
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Prescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long prescriptionId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date prescriptionDrugtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal prescriptionMoney;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long doctorId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setPrescriptionDrugtime(Date prescriptionDrugtime) 
    {
        this.prescriptionDrugtime = prescriptionDrugtime;
    }

    public Date getPrescriptionDrugtime() 
    {
        return prescriptionDrugtime;
    }
    public void setPrescriptionMoney(BigDecimal prescriptionMoney) 
    {
        this.prescriptionMoney = prescriptionMoney;
    }

    public BigDecimal getPrescriptionMoney() 
    {
        return prescriptionMoney;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prescriptionId", getPrescriptionId())
            .append("prescriptionDrugtime", getPrescriptionDrugtime())
            .append("prescriptionMoney", getPrescriptionMoney())
            .append("doctorId", getDoctorId())
            .append("patientId", getPatientId())
            .toString();
    }
}
